﻿/*
 * MIT License
 *Copyright (c) 2021 咖啡与网络(java-and-net)
 *
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using CoreShop.Model;
using CoreShop.Repository;
using SqlSugar;

namespace CoreShop.Services
{
    /// <summary>
    /// 商品分类信息接口实现类
    /// </summary>
    public class corecmssystemappsetService : Repository<corecmssystemappset>, IcorecmssystemappsetService
    {
        #region app参数表
                

        /// <summary>
        /// 更新商品分类 删除标志
        /// </summary>
        /// <param name="custo"></param>
        /// <returns></returns>
        public bool UpdDataInfo(corecmssystemappset entry)
        {
            var bl = base.Update(a => new corecmssystemappset()
            {
                orderingPrtId = entry.orderingPrtId,
                prePayPrtId = entry.prePayPrtId,
                settlementPrtId = entry.settlementPrtId,
            }, a => a.sysUserId == entry.sysUserId);
            return bl;
        }
    
        #endregion
    }
}
